package com.zhl.gradledemo.service.impl;

import com.zhl.gradledemo.dao.BaseDao;
import com.zhl.gradledemo.mapper.ArticleMapper;
import com.zhl.gradledemo.mapper.OrderMapper;
import com.zhl.gradledemo.model.Article;
import com.zhl.gradledemo.model.Order;
import com.zhl.gradledemo.service.ArticleService;
import com.zhl.gradledemo.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import tk.mybatis.mapper.entity.Example;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2019/11/2.
 */
@Service
@Transactional
public class OrderServiceImpl extends BaseServiceImpl<Order> implements OrderService {

    @Resource
    private OrderMapper orderMapper;

    @Override
    protected BaseDao<Order> getBaseDao() {
        return orderMapper;
    }

}
